package hk.ust.android_competition.data_reload_tools;

import com.google.gson.Gson;

import hk.ust.android_competition.user.UserData;

/**
 * Created by Silver on 6/1/15.
 */
public class UserDataReloader extends DataReloader {
    UserData userData;

    public UserDataReloader(String path) {
        super(path);
    }

    public UserData getUserData() {
        Gson gson = new Gson();
        userData = gson.fromJson(getBr(), UserData.class);
        return userData;
    }
}
